package com.ccrfid.rmc6.repository.business.prison.door;

import com.ccrfid.rmc6.entity.business.prison.door.InOutDoorEntity;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface InOutDoorRepository extends Repository<InOutDoorEntity, Long> {

    InOutDoorEntity getById(Long id);

    InOutDoorEntity save(InOutDoorEntity entity);

    void deleteById(Long id);

    boolean existsById(Long id);

    List<InOutDoorEntity> getAllBy();
}
